package com.apply.entity;

public class teachers {

	
	private int id;

	private String campusname;
	public String getCampusname() {
		return campusname;
	}
	public void setCampusname(String campusname) {
		this.campusname = campusname;
	}

	private String teachername;
	private String teachercode;
	private String sex;
	private String phone;
	private String headimg;
	private String entrytime;
	private String info;
	private Integer count;
	
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}

	private int isdel;
	private int campusid;
	private int departmentid;
	private String  departmentname;
	private int positionid;
	private String  positionname;
	public int getDepartmentid() {
		return departmentid;
	}
	public void setDepartmentid(int departmentid) {
		this.departmentid = departmentid;
	}
	public String getDepartmentname() {
		return departmentname;
	}
	public void setDepartmentname(String departmentname) {
		this.departmentname = departmentname;
	}
	public int getPositionid() {
		return positionid;
	}
	public void setPositionid(int positionid) {
		this.positionid = positionid;
	}
	public String getPositionname() {
		return positionname;
	}
	public void setPositionname(String positionname) {
		this.positionname = positionname;
	}
	public int getCampusid() {
		return campusid;
	}
	public void setCampusid(int campusid) {
		this.campusid = campusid;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTeachername() {
		return teachername;
	}
	public void setTeachername(String teachername) {
		this.teachername = teachername;
	}
	public String getTeachercode() {
		return teachercode;
	}
	public void setTeachercode(String teachercode) {
		this.teachercode = teachercode;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getHeadimg() {
		return headimg;
	}
	public void setHeadimg(String headimg) {
		this.headimg = headimg;
	}
	public String getEntrytime() {
		return entrytime;
	}
	public void setEntrytime(String entrytime) {
		this.entrytime = entrytime;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public int getIsdel() {
		return isdel;
	}
	public void setIsdel(int isdel) {
		this.isdel = isdel;
	}
	public position getP() {
		return p;
	}
	public void setP(position p) {
		this.p = p;
	}
	
	public campus getC() {
		return c;
	}
	public void setC(campus c) {
		this.c = c;
	}
	
	private position p;
	
	@Override
	public String toString() {
		return "teachers [id=" + id + ", campusname=" + campusname
				+ ", teachername=" + teachername + ", teachercode="
				+ teachercode + ", sex=" + sex + ", phone=" + phone
				+ ", headimg=" + headimg + ", entrytime=" + entrytime
				+ ", info=" + info + ", count=" + count + ", isdel=" + isdel
				+ ", campusid=" + campusid + ", departmentid=" + departmentid
				+ ", departmentname=" + departmentname + ", positionid="
				+ positionid + ", positionname=" + positionname + ", p=" + p
				+ ", ds=" + ds + ", c=" + c + "]";
	}

	private Department ds;
	
	public Department getDs() {
		return ds;
	}
	public void setDs(Department ds) {
		this.ds = ds;
	}
	private campus c;
}
